package com.jcw.service;

import com.jcw.common.R;
import com.jcw.domain.AddressBook;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author JCW
* @description 针对表【address_book(地址管理)】的数据库操作Service
* @createDate 2023-03-30 11:19:30
*/
public interface AddressBookService extends IService<AddressBook> {

    R<String> editDefault(AddressBook addressBook);

    R<String> add(AddressBook addressBook);

    R<AddressBook> echoAddr(Long id);

    R<String> editAddr(AddressBook addressBook);

    R<String> delete(String ids);

    R<AddressBook> defaultAddr();
}
